package com.example.shiro.service;


import com.example.shiro.entity.SysUserEntity;
import org.springframework.stereotype.Service;

import java.util.List;


public interface SessionService {

    /* 获取当前session数 */
    Integer getSessionCount();

    List<SysUserEntity> list();

    /* 根据sessionId 踢出用户 */
    boolean forceLogout(String sessionId);

}
